package com.link.gateway.base.auth.mybatis.mapper;


import com.link.gateway.base.auth.model.Authclient;

import java.util.List;

/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  黄龙建
 * @date:   2018-09-18
 * @version 1.0
 */

public interface AuthclientMapper {

    /**
     * 通过clientId 查询client
     * @auther HuangLJ
     * @param clientId
     * @return
     * @throws Exception
     */
    Authclient queryClientByClientId(String clientId) throws  Exception;

    Authclient queryClientByUserId(Long userId);

    List<Authclient> queryClient(Authclient authclient);


}
